package com.namo.cchapi.service;

import org.springframework.stereotype.Service;

/**
 * @author WangXin
 * @date 2021/4/12 20:37
 */
@Service
public interface MessageCaptchaService {
    /**
     * 发送短信
     * @param phoneNumber
     * @return
     */
    public String sendMessage(String phoneNumber);

    /**
     * 校验验证码
     * @param phoneNumber
     * @param code
     * @return
     */
    public String checkMessage(String phoneNumber,String code);
}
